using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Org.Loon.Framework.Xna.Game.Action.Scripting
{
    public class WaitFunction : Function
    {

        private int frames;

        public WaitFunction(int frames)
        {
            this.frames = frames;
        }

        public override void Update(ScriptFactory engine, Stack<StackFrame> stack, Callback callback)
        {
        }

        public override int GetWait()
        {
            return frames;
        }

    }

}
